package com.raymond.utils;

import java.util.HashMap;
import java.util.Map;

/**
 * java类作用描述
 *
 * @author :  raymond
 * @version :  1.0
 * @date :  2019/7/16
 */
public class ErrorCode {
    public final static Map<String,String> CODE_MAP = new HashMap<>();
    /**
     * 成功
     */
    public final static String SUCCESS_CODE = "000";
    /**
     * url地址错误
     */
    public final static String URL_CODE = "-100001";
    /**
     * method错误
     */
    public final static String METHOD_CODE = "-100002";

    static {
        CODE_MAP.put(SUCCESS_CODE, "提交netty成功");
        CODE_MAP.put(URL_CODE, "url地址错误");
        CODE_MAP.put(METHOD_CODE, "method错误");
    }



}
